﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectEF6
{
    class Contract
    {
        public int Id { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public int MaxUsageHoursPerPeriod { get; set; }
        public int CompanyId { get; set; }
        public int ContractFormulaId { get; set; }

        public Contract(int id, DateTime start, DateTime end, int maxusagehours, int companyid, int contractformulaid)
        {
            this.Id = id;
            this.StartDate = start;
            this.EndDate = end;
            this.MaxUsageHoursPerPeriod = maxusagehours;
            this.CompanyId = companyid;
            this.ContractFormulaId = contractformulaid;
        }

        public Contract()
        {
        }

    }
}
